.TH lis_matrix_duplicate 3 "6 Sep 2012" "Man Page" "Lis Library Functions"

.SH NAME

lis_matrix_duplicate \- duplicate the matrix

.SH SYNOPSIS

#include "lis.h"

\fBLIS_INT lis_matrix_duplicate\fR(\fBMATRIX *Ain\fR, \fBLIS_MATRIX *Aout\fR);

.SH DESCRIPTION

Create matrix \fIAout\fR which has the same information as \fIAin\fR.

.SH INPUT

.IP "\fBAin\fR"
The source matrix

.SH OUTPUT

.IP "\fBAout\fR"
The destination matrix

.SH EXIT STATUS

The following exit values are returned:
.IP "0"
The process is normally terminated
.IP "unspecified"
An error occurred

.SH NOTE

The function \fBlis_matrix_duplicate\fR does not copy the elements of the matrix, but 
allocates only the memory. To copy the values as well, the function \fBlis_matrix_copy\fR 
must be called after this function.

.SH SEE ALSO

.BR lis (3)
.PP
http://www.ssisc.org/lis/

